<?php
class LogModel extends Model {
  //自动完成
  protected $_auto = array (
    array('log_created', 'getTime',1,'callback'),
  );

  public function getTime() {
    return time();
  }
}
